import request from '@/utils/request.js'
export default{
    
    login(user){
        return request({
            url:`site/user/login`,
            method:'post',
            data:user
        })
    },
    sendMessage(phone){
        return request({
            url:`site/user/msg/sendMessage/${phone}`,
            method:'post'
        })
    },
    getUserInfo() {
        return request({
          url: `site/user/auth/getUserInfo`,
          method: `get`
        })
    },
        
    saveUserAuah(userAuah) {
        return request({
            url: `site/user/auth/userAuth`,
            method:'post',
            data: userAuah
          })
    }
}